// hook -> useState
// const [10] = useState(10)
const foo: () => void = function () {
  console.log('1111')
}

type myFunction = () => void
const fn: myFunction = () => {

}